package cn.dubito.miaosha.utils;

import java.util.UUID;

/**
 * @author liliang
 * @description: 生成不重复 ID
 * @date 2018/3/31.
 */
public class UUIDUtil {

    public static String uuid() {
        return UUID.randomUUID().toString().replace("-","");
    }

    public static void main(String[] args) {
        System.out.println(uuid());
    }
}
